/*
 * This class is for mouse adapter method.It extend the MouseAdapter from java,and rewrite the method public void mouseClicked(MouseEvent arg0).
 * 
 * public:
 * 		public void mouseClicked(MouseEvent arg0);
 */
package adapter;

import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

import client.MouseAdatperClient;

public class MouseAdapterMethod extends MouseAdapter{//extends the class MouseAdapteros that get all its' method
	
	//rewrite the clicked method for user
	@Override
	public void mouseClicked(MouseEvent arg0) {
		
		//get the dialog from client and let visible for client
		MouseAdatperClient.getDialog().setVisible(true);
		
		super.mouseClicked(arg0);
	}
}
